home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / othergnu / texinf31.zoo / texinfo-3.1 / makeinfo / makeinfo.info < prev    next >
Encoding:
GNU Info File  |  1993-06-01  |  8.1 KB  |  225 lines

  1. This is Info file makeinfo.info, produced by Makeinfo-1.55 from the
  2. input file makeinfo.texi.
  3.  
  4. This file is an extract from the `Texinfo' manual.
  5. It documents `makeinfo', a program that converts Texinfo files into
  6. Info files.
  7.  
  8. Copyright (C) 1992, 1993 Free Software Foundation, Inc.
  9.  
  10. Permission is granted to make and distribute verbatim copies of this
  11. manual provided the copyright notice and this permission notice are
  12. preserved on all copies.
  13.  
  14. Permission is granted to copy and distribute modified versions of this
  15. manual under the conditions for verbatim copying, provided that the
  16. entire resulting derived work is distributed under the terms of a
  17. permission notice identical to this one.
  18.  
  19. Permission is granted to copy and distribute translations of this manual
  20. into another language, under the above conditions for modified versions,
  21. except that this permission notice may be stated in a translation
  22. approved by the Free Software Foundation.
  23.  
  24. File: makeinfo.info,  Node: Top,  Next: What is makeinfo,  Prev: (dir),  Up: (dir)
  25.  
  26. `makeinfo'
  27. **********
  28.  
  29. This file documents the use of the `makeinfo' program, versions 1.51
  30. and later.  It is an extract from the `Texinfo' manual.
  31.  
  32. * Menu:
  33.  
  34. * What is makeinfo::
  35.  
  36. File: makeinfo.info,  Node: What is makeinfo,  Prev: Top,  Up: Top
  37.  
  38. What is `makeinfo'?
  39. *******************
  40.  
  41. `makeinfo' is a program for converting "Texinfo" files into "Info"
  42. files.  Texinfo is a documentation system that uses a single source
  43. file to produce both on-line information and printed output.
  44.  
  45. You can read the on-line information using Info; type `info' to learn
  46. about Info.  *Note Texinfo: (texinfo.texi)Top, to learn about the
  47. Texinfo documentation system.
  48.  
  49. * Menu:
  50.  
  51. * Formatting Control::
  52. * Options::
  53. * Pointer Validation::
  54.  
  55. File: makeinfo.info,  Node: Formatting Control,  Next: Options,  Up: What is makeinfo
  56.  
  57. Controlling Paragraph Formats
  58. =============================
  59.  
  60. In general, `makeinfo' "fills" the paragraphs that it outputs to an
  61. Info file.  Filling is the process of breaking and connecting lines so
  62. that lines are the same length as or shorter than the number specified
  63. as the fill column.  Lines are broken between words.  With `makeinfo',
  64. you can control:
  65.  
  66.    * The width of each paragraph (the "fill-column").
  67.  
  68.    * The amount of indentation that the first line of each paragraph
  69.      receives (the "paragraph-indentation").
  70.  
  71. File: makeinfo.info,  Node: Options,  Next: Pointer Validation,  Prev: Formatting Control,  Up: What is makeinfo
  72.  
  73. Command Line Options
  74. ====================
  75.  
  76. The following command line options are available for `makeinfo'.
  77.  
  78. `-D VAR'
  79.      Cause VAR to be defined.  This is equivalent to `@set VAR' in the
  80.      Texinfo file.
  81.  
  82. `--error-limit LIMIT'
  83.      Set the maximum number of errors that `makeinfo' will report
  84.      before exiting (on the assumption that continuing would be
  85.      useless).  The default number of errors that can be reported before
  86.      `makeinfo' gives up is 100.
  87.  
  88. `--fill-column WIDTH'
  89.      Specify the maximum number of columns in a line; this is the
  90.      right-hand edge of a line.  Paragraphs that are filled will be
  91.      filled to this width.  The default value for `fill-column' is 72.
  92.  
  93. `--footnote-style STYLE'
  94.      Set the footnote style to STYLE, either `end' for the end node
  95.      style or `separate' for the separate node style.  The value set by
  96.      this option overrides the value set in a Texinfo file by an
  97.      `@footnotestyle' command.  When the footnote style is `separate',
  98.      `makeinfo' makes a new node containing the footnotes found in the
  99.      current node.  When the footnote style is `end', `makeinfo' places
  100.      the footnote references at the end of the current node.
  101.  
  102. `-I DIR'
  103.      Add `dir' to the directory search list for finding files that are
  104.      included using the `@include' command.  By default, `makeinfo'
  105.      searches only the current directory.
  106.  
  107. `--no-headers'
  108.      Do not include menus or node lines in the output.  This results in
  109.      an ASCII file that you cannot read in Info since it does not
  110.      contain the requisite nodes or menus; but you can print such a
  111.      file in a single, typewriter-like font and produce acceptable
  112.      output.
  113.  
  114. `--no-split'
  115.      Suppress the splitting stage of `makeinfo'.  Normally, large
  116.      output files (where the size is greater than 70k bytes) are split
  117.      into smaller subfiles, each one approximately 50k bytes.  If you
  118.      specify `--no-split', `makeinfo' will not split up the output file.
  119.  
  120. `--no-pointer-validate'
  121. `--no-validate'
  122.      Suppress the pointer-validation phase of `makeinfo'.  Normally,
  123.      after a Texinfo file is processed, some consistency checks are
  124.      made to ensure that cross references can be resolved, etc.  *Note
  125.      Pointer Validation::.
  126.  
  127. `--no-warn'
  128.      Suppress the output of warning messages.  This does *not* suppress
  129.      the output of error messages, only warnings.  You might want this
  130.      if the file you are creating has examples of Texinfo cross
  131.      references within it, and the nodes that are referenced do not
  132.      actually exist.
  133.  
  134. `--no-number-footnotes'
  135.      Supress automatic footnote numbering.  By default, `makeinfo'
  136.      numbers each footnote sequentially in a single node, resetting the
  137.      current footnote number to 1 at the start of each node.
  138.  
  139. `--output FILE'
  140. `-o FILE'
  141.      Specify that the output should be directed to FILE and not to the
  142.      file name specified in the `@setfilename' command found in the
  143.      Texinfo source.  FILE can be the special token `-', which specifies
  144.      standard output.
  145.  
  146. `--paragraph-indent INDENT'
  147.      Set the paragraph indentation style to INDENT.  The value set by
  148.      this option overrides the value set in a Texinfo file by an
  149.      `@paragraphindent' command.  The value of INDENT is interpreted as
  150.      follows:
  151.  
  152.         * If the value of INDENT is `asis', do not change the existing
  153.           indentation at the starts of paragraphs.
  154.  
  155.         * If the value of INDENT is zero, delete any existing
  156.           indentation.
  157.  
  158.         * If the value of INDENT is greater than zero, indent each
  159.           paragraph by that number of spaces.
  160.  
  161. `--reference-limit LIMIT'
  162.      Set the value of the number of references to a node that
  163.      `makeinfo' will make without reporting a warning.  If a node has
  164.      more than this number of references in it, `makeinfo' will make the
  165.      references but also report a warning.
  166.  
  167. `-U VAR'
  168.      Cause VAR to be undefined.  This is equivalent to `@clear VAR' in
  169.      the Texinfo file.
  170.  
  171. `--verbose'
  172.      Cause `makeinfo' to display messages saying what it is doing.
  173.      Normally, `makeinfo' only outputs messages if there are errors or
  174.      warnings.
  175.  
  176. `--version'
  177.      Report the version number of this copy of `makeinfo'.
  178.  
  179. File: makeinfo.info,  Node: Pointer Validation,  Prev: Options,  Up: What is makeinfo
  180.  
  181. Pointer Validation
  182. ==================
  183.  
  184. If you do not suppress pointer-validation (by using the
  185. `--no-pointer-validation' option), `makeinfo' will check the validity
  186. of the final Info file.  Mostly, this means ensuring that nodes you
  187. have referenced really exist.  Here is a complete list of what is
  188. checked:
  189.  
  190.   1. If a `Next', `Previous', or `Up' node reference is a reference to a
  191.      node in the current file and is not an external reference such as
  192.      to `(dir)', then the referenced node must exist.
  193.  
  194.   2. In every node, if the `Previous' node is different from the `Up'
  195.      node, then the `Previous' node must also be pointed to by a `Next'
  196.      node.
  197.  
  198.   3. Every node except the `Top' node must have an `Up' pointer.
  199.  
  200.   4. The node referenced by an `Up' pointer must contain a reference to
  201.      the current node in some manner other than through a `Next'
  202.      reference.  This includes menu entries and cross references.
  203.  
  204.   5. If the `Next' reference of a node is not the same as the `Next'
  205.      reference of the `Up' reference, then the node referenced by the
  206.      `Next' pointer must have a `Previous' pointer that points back to
  207.      the current node.  This rule allows the last node in a section to
  208.      point to the first node of the next chapter.
  209.  
  210.  
  211. Tag Table:
  212. Node: Top949
  213. Node: What is makeinfo1215
  214. Node: Formatting Control1758
  215. Node: Options2377
  216. Node: Pointer Validation6743
  217. End Tag Table
  218.